<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!-- This is a Header File and should not need body tags -->
<%
	//Verify Identity or redirect back to login
	Object obj = session.getAttribute("UserAdmin");
	if (obj == null)
	{ response.sendRedirect("LoginAdmin"); }
%>
<style type="text/css">
	.MenuBorder { border: solid 1px #CCCCCC; }
	.Seperator  { border-left: solid 1px #CCCCCC; }
</style>
<center>
	<table border='0'>
		<tr>
			<td align='left'>
				<b>Administrator</b>
			</td>
			<td align='right'>
				Logged in as: ${sessionScope.UserAdmin.name}&nbsp;(${sessionScope.UserAdmin.employeeid})&nbsp;<a href="LogoutAdmin" >Logout</a>
			</td>
		</tr>
		<tr align='left'>
			<td colspan='2'>
				<div class="MenuBorder">
					<table border='0' cellspacing='3' cellpadding='3'>
						<tr align='left'>
							<td>
								<a href="EmployeeList">Manage Employees</a>
							</td>
							<td class='Seperator'>&nbsp;</td>	
							<td>
								<a href="RankList">Manage Ranks</a>
							</td>
							<td class='Seperator'>&nbsp;</td>	
							<td>
								<a href="HolidayList">Manage Holidays</a>
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
	</table>
</center>

